System Functions

Table A-9 lists system functions.

Table A-9. Scalar System Functions
Function
Returns
DATABASE()
Name of the database, corresponding to the connection handle (hdbc).
IFNULL(exp,value)
value, if exp is null.
USER()
Authorization name of the user.